# $Id: PKGBUILD 67964 2012-03-16 12:55:13Z giovanni $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org>

pkgname=man-pages-pt_br
pkgver=2010.1.01
pkgrel=6
pkgdesc="Brazilian Portuguese collection of manpages"
arch=('any')
license=('GPL')
url="http://br.tldp.org/projetos/man/man.html"
makedepends=('rpmextract')
depends=('man-pages')
source=(http://mandriva.c3sl.ufpr.br/official/2010.1/i586/media/main/release/man-pages-pt_BR-0.1-6mdv2010.0.noarch.rpm)
md5sums=('0b9477f47bc1410b3a190df82a4a8c97')

build() {
  rpmextract.sh *.rpm
}

package() {
  install -d $pkgdir/usr/share/man/pt_BR
  cp -r $srcdir/usr/share/man/pt_BR/* $pkgdir/usr/share/man/pt_BR
  chown -R root:root $pkgdir/usr
}
